// 基于template/src/widgets/{{appEntities}}/{{ctrls@TREEVIEW}}-tree/{{spinalCase ctrl.codeName}}-tree-vo.ts.hbs生成
import { ControlVOBase } from '@/core';

class BookdataControlVO extends ControlVOBase {

    constructor(data: any){
        super(data);
        //  树自持属性
        this.$ownKeys = ['ibizbook', 'array', 'createman', 'ibizbookname', 'ibizbookid', 'createdate', 'updateman', 'updatedate', 'author', 'price', 'press', 'type', 'booknumber', 'subtext', 'lendouttime', 'returntime', 'icon', 'sailstate', 'borrowstatus', 'stepstatus', 'borrower', 'borrowway', 'returnlib', 'borrowerid', 'borrower1', 'borrower1id', 'borrower2', 'borrower2_id', 'borrower3', 'borrower3_id', 'tag'];
    }
    get id() {
        return this.$DO.ibizbookid;
    }
    set id(value: any) {
        this.$DO.ibizbookid = value;
    }
    get text() {
        return this.$DO.ibizbookname;
    }
    set text(value: any) {
        this.$DO.ibizbookname = value;
    }
    set ibizbookid(value: any) {
        this.$DO.ibizbookid = value;
    }
    get ibizbookid() {
        return this.$DO.ibizbookid;
    }
    set srfkey(value: any) {
        this.$DO.ibizbookid = value;
    }
    get srfkey() {
        return this.$DO.ibizbookid;
    }
    set ibizbookname(value: any) {
        this.$DO.ibizbookname = value;
    }
    get ibizbookname() {
        return this.$DO.ibizbookname;
    }
}
class OrderdataControlVO extends ControlVOBase {

    constructor(data: any){
        super(data);
        //  树自持属性
        this.$ownKeys = ['ibizorder', 'tp', 'endtime', 'wfstate', 'createdate', 'opinion', 'updatedate', 'ordertype', 'detailnum', 'wfinstanceid', 'amount', 'orderuid', 'ibizorderid', 'orderstate', 'starttime', 'updateman', 'wfstep', 'createman', 'ibizordername', 'ordertime', 'memo', 'ibizcustomername', 'ibizcustomerid'];
    }
    get id() {
        return this.$DO.ibizorderid;
    }
    set id(value: any) {
        this.$DO.ibizorderid = value;
    }
    get text() {
        return this.$DO.ibizordername;
    }
    set text(value: any) {
        this.$DO.ibizordername = value;
    }
    set ibizorderid(value: any) {
        this.$DO.ibizorderid = value;
    }
    get ibizorderid() {
        return this.$DO.ibizorderid;
    }
    set srfkey(value: any) {
        this.$DO.ibizorderid = value;
    }
    get srfkey() {
        return this.$DO.ibizorderid;
    }
    set ibizordername(value: any) {
        this.$DO.ibizordername = value;
    }
    get ibizordername() {
        return this.$DO.ibizordername;
    }
}
class OrderdetailControlVO extends ControlVOBase {

    constructor(data: any){
        super(data);
        //  树自持属性
        this.$ownKeys = ['ibizorderdetail', 'ibizorderdetailname', 'updatedate', 'createdate', 'createman', 'ibizorderdetaila', 'amount', 'quantity', 'ibizorderdetailid', 'updateman', 'unitprice', 'orderuid', 'unit', 'ibizordername', 'ibizuniproductname', 'ibizorderid', 'ibizuniproductid'];
    }
    get id() {
        return this.$DO.ibizorderid;
    }
    set id(value: any) {
        this.$DO.ibizorderid = value;
    }
    get text() {
        return this.$DO.ibizorderdetailname;
    }
    set text(value: any) {
        this.$DO.ibizorderdetailname = value;
    }
    set ibizorderdetailid(value: any) {
        this.$DO.ibizorderdetailid = value;
    }
    get ibizorderdetailid() {
        return this.$DO.ibizorderdetailid;
    }
    set srfkey(value: any) {
        this.$DO.ibizorderdetailid = value;
    }
    get srfkey() {
        return this.$DO.ibizorderdetailid;
    }
    set ibizorderdetailname(value: any) {
        this.$DO.ibizorderdetailname = value;
    }
    get ibizorderdetailname() {
        return this.$DO.ibizorderdetailname;
    }
}

export const TreeControlVO = [{ name: 'BookdataControlVO', controlVO: BookdataControlVO }, { name: 'OrderdataControlVO', controlVO: OrderdataControlVO }, { name: 'OrderdetailControlVO', controlVO: OrderdetailControlVO }]